{% extends 'base.html' %}

{% block header %}
<h1>{% block title %}NAMESPACE{% endblock %}</h1>
{% endblock %}

{% block content %}
{% for post in posts %}
<article class="post">
    <header>
        <div>
            <h1>
                {{ post }}
                <a class="action" href="{{ url_for('k8s-show.ns_yaml', name=post) }}">YAML</a>
            </h1>
        </div>
    </header>
</article>
{% if not loop.last %}
<hr>
{% endif %}
{% endfor %}
{% endblock %}